package com.woniuxy.receivables.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class InvestsVo {
    private Integer id;
    private String uname;
    private String name;
    private String pname;
    private String type;
    private BigDecimal lmoney;
    private BigDecimal tmoney;
    private BigDecimal rmoney;
    private BigDecimal interest;
    private BigDecimal rinterest;
    private BigDecimal smoney;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime ltime;
}
